package Forms;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JPanel;
import javax.swing.ListModel;
import javax.swing.SwingConstants;
import javax.swing.border.BevelBorder;
import javax.swing.border.LineBorder;
import teComponents.*;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class ProductsForm  extends teComponents.teJFrame {
	
	private void initGUI() {
		try {
			{
				this.setTitle("Maintain Prodliers");
			}
			{
				this.setSize(580, 361);
			}
			{
				ListModel lstAllModel = 
					new DefaultComboBoxModel(
							new String[] { "Item One", "Item Two" });
				lstAll = new teJList();
				getContentPane().add(lstAll);
				lstAll.setModel(lstAllModel);
				lstAll.setBounds(12, 47, 283, 231);
			}
			{
				lblAll = new teJLabel();
				getContentPane().add(lblAll);
				lblAll.setText("Products");
				lblAll.setBounds(12, 27, 80, 14);
				lblAll.setHorizontalAlignment(SwingConstants.LEFT);
			}
			{
				lblSearch = new teJLabel();
				getContentPane().add(lblSearch);
				lblSearch.setText("Search for: ");
				lblSearch.setBounds(317, 27, 110, 14);
				lblSearch.setHorizontalAlignment(SwingConstants.LEFT);
			}
			{
				btnAdd = new teJButton();
				getContentPane().add(btnAdd);
				btnAdd.setText("Add");
				btnAdd.setBounds(14, 296, 100, 25);
			}
			{
				btnDelete = new teJButton();
				getContentPane().add(btnDelete);
				btnDelete.setText("Delete");
				btnDelete.setBounds(159, 296, 100, 25);
			}
			{
				btnClear = new teJButton();
				getContentPane().add(btnClear);
				btnClear.setText("Clear");
				btnClear.setBounds(451, 296, 100, 25);
			}
			{
				btnUpdate = new teJButton();
				getContentPane().add(btnUpdate);
				btnUpdate.setText("Update");
				btnUpdate.setBounds(305, 296, 100, 25);
			}
			{
				pnlSelected = new teJPanel();
				getContentPane().add(pnlSelected);
				pnlSelected.setBounds(317, 158, 234, 118);
				pnlSelected.setLayout(null);
				{
					lblProdName = new teJLabel();
					pnlSelected.add(lblProdName);
					lblProdName.setText("Product Name: ");
					lblProdName.setBounds(8, 66, 105, 14);
				}
				{
					txtProdName = new teJTextField();
					pnlSelected.add(txtProdName);
					txtProdName.setBounds(8, 86, 215, 18);
				}
				{
					txtProdID = new teJTextField();
					pnlSelected.add(txtProdID);
					txtProdID.setBounds(8, 33, 82, 18);
				}
				{
					lblProdID = new teJLabel();
					pnlSelected.add(lblProdID);
					lblProdID.setText("Product ID: ");
					lblProdID.setBounds(8, 13, 82, 14);
				}
			}
			{
				lblSelectedPanel = new teJLabel();
				getContentPane().add(lblSelectedPanel);
				lblSelectedPanel.setText("Your Selection:");
				lblSelectedPanel.setBounds(317, 138, 101, 14);
				lblSelectedPanel.setHorizontalAlignment(SwingConstants.LEFT);
			}
			{
				pnlSearch = new teJPanel();
				getContentPane().add(pnlSearch);
				pnlSearch.setBounds(317, 47, 234, 79);
				pnlSearch.setLayout(null);
				{
					txtSearch = new teJTextField();
					pnlSearch.add(txtSearch);
					txtSearch.setBounds(13, 14, 208, 21);
				}
				{
					btnGo = new teJButton();
					pnlSearch.add(btnGo);
					btnGo.setText("Search");
					btnGo.setBounds(47, 45, 143, 25);
				}
			}
		} catch(Exception e) {
			e.printStackTrace();
		}
	}

	private teJList lstAll;
	private teJButton btnGo;
	private teJPanel pnlSearch;
	private teJLabel lblSelectedPanel;
	private teJLabel lblProdID;
	private teJTextField txtProdID;
	private teJLabel lblProdName;
	private teJTextField txtProdName;
	private JPanel pnlSelected;
	private teJButton btnAdd;
	private teJButton btnUpdate;
	private teJButton btnClear;
	private teJButton btnDelete;
	private teJLabel lblSearch;
	private teJTextField txtSearch;
	private teJLabel lblAll;

}
